$OpenBSD: patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h,v 1.3 2014/09/28 06:52:14 ajacoutot Exp $

https://bugs.webkit.org/show_bug.cgi?id=129972

--- Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h.orig	Mon Sep  9 11:20:59 2013
+++ Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h	Mon Sep 23 22:46:15 2013
@@ -225,6 +225,8 @@
 #define GTEST_OS_HURD 1
 #elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
 #define GTEST_OS_FREEBSD 1
+#elif defined __OpenBSD__
+#define GTEST_OS_OPENBSD 1
 #elif defined __MVS__
 #define GTEST_OS_ZOS 1
 #elif defined(__sun) && defined(__SVR4)
@@ -234,7 +236,7 @@
 #endif  // __CYGWIN__
 
 #if GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_SYMBIAN || \
-    GTEST_OS_SOLARIS || GTEST_OS_AIX || GTEST_OS_FREEBSD || GTEST_OS_HURD
+    GTEST_OS_SOLARIS || GTEST_OS_AIX || GTEST_OS_FREEBSD || GTEST_OS_OPENBSD || GTEST_OS_HURD
 
 // On some platforms, <regex.h> needs someone to define size_t, and
 // won't compile otherwise.  We can #include it here as we already
